﻿using Abp.Runtime.Validation;
using Camc.Quality.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.WorkFlow
{
    public class AffairInput : PagedAndSortedInputDto, IShouldNormalize
    {

        /// <summary>
        /// 类型代码
        /// </summary>
        public string AffairCode { get; set; }

        /// <summary>
        /// 消息类型描述
        /// </summary>
        public string AffairType { get; set; }
        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }

    }
}
